package com.example.yskjproject.ui.fragment;

import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.example.yskjproject.base.BaseFragment;
import com.example.yskjproject.databinding.FitnessCollegeFragmentBinding;
import com.example.yskjproject.view.dialog.LoginDialogHelper;

/**
 * 健身学院
 */
public class FitnessCollegeFragment extends BaseFragment {
    FitnessCollegeFragmentBinding fragmentBinding;

    @Override
    protected FitnessCollegeFragmentBinding onCreateViewBinding(@NonNull LayoutInflater inflater, @Nullable ViewGroup parent) {
        fragmentBinding = FitnessCollegeFragmentBinding.inflate(inflater,parent,false);
        return fragmentBinding;
    }

    private LoginDialogHelper loginDialogHelper;
    @Override
    protected void onData() {
        fragmentBinding.tvtvtvt.setOnClickListener(V ->{
            loginDialogHelper = new LoginDialogHelper(getActivity());
            loginDialogHelper.show();
        });

    }
}
